home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / Dots & Pixels / headers / window.h < prev   
C/C++ Source or Header  |  1995-09-29  |  458b  |  20 lines

  1. #pragma once
  2.  
  3. class window : public port
  4. {
  5.     public:
  6.         window( short breedte = 320, short hoogte = 200, Str255 naam = "\pa Window");
  7.         window( short breedte, short hoogte, short xPos, short yPos, Str255 naam = "\pa Window");
  8.         ~window();
  9.         void show() const;
  10.         void hide() const;
  11.         void moveto( int x, int y) const;
  12.  
  13.     protected:
  14.         WindowPtr     myWindow;
  15.         CWindowRecord myWindowRecord;
  16.     
  17.     private:
  18.         void makeOne( const Rect &theRect, const Str255 naam);
  19. };
  20.